res=$(curl -s http://$1:8080/api/v1/namespaces/default/pods?labelSelector=appName%3D$2 | grep -v grep  | grep podIP | awk -F "\"" '{print $4}')
echo $res